package com.cyclinggle.cloud;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
	
	@GetMapping("/add")
	public String add(Integer a, Integer b, HttpServletRequest request) {
		return "From Port : " + request.getServerPort() + ", res : " + (a + b);
	}
	
}
